package Executer;

import java.util.TimerTask;

import Events.GenericEvent;

public class ExecutedTask {

	GenericEvent event;
	private ExecuterTask et;
	public ExecutedTask(GenericEvent ge, ExecuterTask et)
	{
		event = ge;
		this.et=et;
		run();
	}
	public void run() {
		System.out.println("Ejecutando run run!!!");
		System.out.println(event);
		et.executedPopUp(event);
		et.evenentExecuted(event);
	}

}
